<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>质量问题版本信息列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/systemStatic/style/admin.css">
    <link rel="stylesheet" href="/iconfont/iconfont.css"/>
    <link rel="stylesheet" href="/css/public.css">
    <script type="text/javascript">
        var __ctx = "";
    </script>
</head>
<body>

<div style="margin: 10px">
    <table id="wQbdFalProblemvsoTable" lay-filter="wQbdFalProblemvsoTable"></table>
</div>
<!-- 列表头部工具栏 -->
<script type="text/html" id="wQbdFalProblemvsoHeaderToolsBar">
    <div class="ccpui-enterSel">
        <div class="layui-btn-container">
            <a class="layui-btn layui-btn-sm" lay-event="add">
                <i class="layui-icon layui-icon-add-1"></i>
                <span>新增</span>
            </a>
            <a class="layui-btn layui-btn-sm" lay-event="delete">
                <i class="layui-icon layui-icon-delete"></i>
                <span>删除</span>
            </a>
            <a class="layui-btn layui-btn-sm" lay-event="export">
                <i class="layui-icon layui-icon-export"></i>
                <span>导出</span>
            </a>
            <a class="layui-btn layui-btn-sm" lay-event="import">
                <i class="layui-icon layui-icon-download-circle"></i>
                <span>导入</span>
            </a>
            <a class="layui-btn layui-btn-sm" lay-event="query">
                <i class="layui-icon layui-icon-search"></i>
                <span>查询</span>
            </a>
            <a class="layui-btn layui-btn-sm" lay-event="clears">
                <i class="layui-icon layui-icon-refresh"></i>
                <span>重置</span>
            </a>
        </div>
        <form class="layui-form" action="" lay-filter="wQbdFalProblemvsoQueryForm" style="margin-right: 30px;">
            <div class="layui-row" style="margin-top: 10px;">
                <div class="selch table-top-filter">
                        <div class="table-filter-alone">
                                <label class="layui-form-label">主键</label>
                                <input type="text" class="layui-input filter-value" name="Q_id_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">填写人</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFillman_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">填写人的账号</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFillmanaccount_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">填写部门</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFilldept_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">填写部门id</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFilldeptid_SL" placeholder="填写部门id"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">密级</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSecret_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">质量问题名称</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProblemname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题发生时间</label>
                                <input type="text" class="layui-input start_time1 filter-value" name="Q_beginFDetecttime_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time1 filter-value" name="Q_endFDetecttime_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">型号代号</label>
                                <input type="text" class="layui-input filter-value" name="Q_fModelsymbol_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">型号名称</label>
                                <input type="text" class="layui-input filter-value" name="Q_fModelname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">型号批次</label>
                                <input type="text" class="layui-input filter-value" name="Q_fModelbatchno_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">型号类别</label>
                                <input type="text" class="layui-input filter-value" name="Q_fModeltype_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">工作阶段</label>
                                <input type="text" class="layui-input filter-value" name="Q_fWorkphase1_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">故障产品名称</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProductname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">填写日期</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFilldate_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">型号研制阶段</label>
                                <input type="text" class="layui-input filter-value" name="Q_fModeldevelopphase_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">故障产品所属的产品批次</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProductbatchno_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">生产分类</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProduceclass_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">故障件阶段</label>
                                <input type="text" class="layui-input filter-value" name="Q_fBreakphase_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">产品级别</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProductlevel_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">产品设计单位</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProductdesigndept_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">产品生产单位</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProductproducedept_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题发生地点</label>
                                <input type="text" class="layui-input filter-value" name="Q_fDetectplace_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">所属分系统名称</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSubsystemname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否首飞</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIffirstfly_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否靶场质量问题</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfshooting_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否批次性</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfbatch_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否三类问题</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfthree_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题等级</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProblemrank_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">硬件/软件</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSofthard_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题级别</label>
                                <input type="text" class="layui-input filter-value" name="Q_fProblemlever_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">归零周期</label>
                                <input type="text" class="layui-input filter-value" name="Q_fResetday_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题/故障现象描述</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFailuredescription_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">深层次原因</label>
                                <input type="text" class="layui-input filter-value" name="Q_fDeepreason_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题原因描述</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCausation_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">“四个两”要求对照分析</label>
                                <input type="text" class="layui-input filter-value" name="Q_fFourrefer_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">原因分类1</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCausationclass1_SL" placeholder="原因分类1"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">原因分类2</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCausationclass2_SL" placeholder="原因分类2"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题责任单位</label>
                                <input type="text" class="layui-input filter-value" name="Q_fDutydept_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">责任单位性质</label>
                                <input type="text" class="layui-input filter-value" name="Q_fDutydeptnature_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否完成归零</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfreset_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">归零方式</label>
                                <input type="text" class="layui-input filter-value" name="Q_fResettype_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">解决情况</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSolveresult_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">问题处理方式</label>
                                <input type="text" class="layui-input filter-value" name="Q_fMeasureclass_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">纠正措施</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCorrectmeasure_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">外协外购乙方</label>
                                <input type="text" class="layui-input filter-value" name="Q_fOutdeptname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">范围</label>
                                <input type="text" class="layui-input filter-value" name="Q_fRanage_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">行业</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIndusty_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">外协性质</label>
                                <input type="text" class="layui-input filter-value" name="Q_fOutnature_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">软件等级</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSoftrank_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否变更</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIschange_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">当前版本</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCurversion_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否展示</label>
                                <input type="text" class="layui-input filter-value" name="Q_fShowversion_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">更新人</label>
                                <input type="text" class="layui-input filter-value" name="Q_fUpdateperson_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">更新人部门</label>
                                <input type="text" class="layui-input filter-value" name="Q_fUpdatepersondept_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">更新日期</label>
                                <input type="text" class="layui-input start_time2 filter-value" name="Q_beginFUpdatedate_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time2 filter-value" name="Q_endFUpdatedate_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">变更原始id</label>
                                <input type="text" class="layui-input filter-value" name="Q_fOriginalid_SL" placeholder="变更原始id"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">变更上一版本id</label>
                                <input type="text" class="layui-input filter-value" name="Q_fPreviousid_SL" placeholder="变更上一版本id"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">所属单位</label>
                                <input type="text" class="layui-input filter-value" name="Q_fBelongdeptname_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">原因分类3</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCausationclass3_SL" placeholder="原因分类3"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">状态</label>
                                <input type="text" class="layui-input filter-value" name="Q_fStatus_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">督办id</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSuperviseid_SL" placeholder="督办id"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">管理因素分析</label>
                                <input type="text" class="layui-input filter-value" name="Q_fManagefactoranalysis_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">技术归零时间</label>
                                <input type="text" class="layui-input start_time3 filter-value" name="Q_beginFSkillresettime_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time3 filter-value" name="Q_endFSkillresettime_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">管理归零时间</label>
                                <input type="text" class="layui-input start_time4 filter-value" name="Q_beginFManageresettime_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time4 filter-value" name="Q_endFManageresettime_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否集团内配套</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfmating_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">技术归零报告及相关证明文件</label>
                                <input type="text" class="layui-input filter-value" name="Q_fSkillcerfile_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">管理归零报告及相关证明文件</label>
                                <input type="text" class="layui-input filter-value" name="Q_fManagecerfile_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否责任追究</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIfduty_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">责任追究类别</label>
                                <input type="text" class="layui-input filter-value" name="Q_fDutyinvestigationtyp_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">认定情况</label>
                                <input type="text" class="layui-input filter-value" name="Q_fIdentification_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">是否完成责任追究</label>
                                <input type="text" class="layui-input filter-value" name="Q_fConfirmdutyinvest_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">处罚总金额</label>
                                <input type="text" class="layui-input filter-value" name="Q_fAllcount_L" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">版本号</label>
                                <input type="text" class="layui-input filter-value" name="Q_fVersion_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">版本日期</label>
                                <input type="text" class="layui-input start_time5 filter-value" name="Q_beginFVersiondate_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time5 filter-value" name="Q_endFVersiondate_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">租户Id</label>
                                <input type="text" class="layui-input filter-value" name="Q_tenantId_SL" placeholder="租户Id"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">创建人</label>
                                <input type="text" class="layui-input filter-value" name="Q_fCreateby_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">创建时间</label>
                                <input type="text" class="layui-input start_time6 filter-value" name="Q_beginFCreatetime_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time6 filter-value" name="Q_endFCreatetime_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">更新人</label>
                                <input type="text" class="layui-input filter-value" name="Q_fUpdateby_SL" placeholder="请输入"/>
                        </div>
                        <div class="table-filter-alone">
                                <label class="layui-form-label">更新时间</label>
                                <input type="text" class="layui-input start_time7 filter-value" name="Q_beginFUpdatetime_DL" placeholder="请输入"/>
                                <span style="float:left;margin-left:38px;">—</span>
                                <input type="text" class="layui-input end_time7 filter-value" name="Q_endFUpdatetime_DG" placeholder="请输入" style="margin-left:38px;"/>
                        </div>
                </div>
            </div>
        </form>
    </div>

</script>
<!-- 右侧工具栏 -->
<script type="text/html" id="wQbdFalProblemvsoRightToolsBar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-xs" lay-event="particulars">详情</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script src="/public/component.js" type="text/javascript"></script>
<script src="/layui/layui.js"></script>
<script>
    //一般直接写在一个js文件中
    layui.config({
        base: serverPath.systemPath + staticPath.systemPath //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index','table', 'setter', 'form', 'common','totalFilter','commons','jquery','layer'], function () {
        var table = layui.table;
        var setter = layui.setter;
        var form = layui.form;
        var common = layui.common;
        var commons = layui.commons;
        var $ = layui.jquery;
        var layer = layui.layer;
        var totalFilter = layui.totalFilter;
        common.tableSort('wQbdFalProblemvsoTable');

        var tableH=commons.tabHeight();

        //第一个实例
        table.render({
            elem: '#wQbdFalProblemvsoTable'
            ,height:tableH
            ,url: serverPath.basePath + '/qbdms/wQbdFalProblemvso/list'
            ,page: true //开启分页
            ,toolbar: '#wQbdFalProblemvsoHeaderToolsBar'
            ,method: 'post'
            ,autoSort: false //是否排序
            ,cols: [[ //表头
                 {type: 'checkbox', fixed: 'left'}
                ,{field: 'sn', type: 'numbers', title: '序号', fixed: 'left'}
                ,{field: 'id', title: '主键',sort:true, sortname: 'id'}
                ,{field: 'fFillman', title: '填写人',sort:true, sortname: 'f_fillman'}
                ,{field: 'fFillmanaccount', title: '填写人的账号',sort:true, sortname: 'f_fillmanaccount'}
                ,{field: 'fFilldept', title: '填写部门',sort:true, sortname: 'f_filldept'}
                ,{field: 'fFilldeptid', title: '填写部门id',sort:true, sortname: 'f_filldeptid'}
                ,{field: 'fSecret', title: '密级',sort:true, sortname: 'f_secret'}
                ,{field: 'fProblemname', title: '质量问题名称',sort:true, sortname: 'f_problemname'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fDetecttime,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fDetecttime,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fDetecttime);
                ,{field: 'fDetecttime', title: '问题发生时间',sort:true, sortname: 'f_detecttime',templet: function (d) {
                    return commons.timeData(d.fDetecttime);
                }}
                ,{field: 'fModelsymbol', title: '型号代号',sort:true, sortname: 'f_modelsymbol'}
                ,{field: 'fModelname', title: '型号名称',sort:true, sortname: 'f_modelname'}
                ,{field: 'fModelbatchno', title: '型号批次',sort:true, sortname: 'f_modelbatchno'}
                ,{field: 'fModeltype', title: '型号类别',sort:true, sortname: 'f_modeltype'}
                ,{field: 'fWorkphase1', title: '工作阶段',sort:true, sortname: 'f_workphase1'}
                ,{field: 'fProductname', title: '故障产品名称',sort:true, sortname: 'f_productname'}
                ,{field: 'fFilldate', title: '填写日期',sort:true, sortname: 'f_filldate'}
                ,{field: 'fModeldevelopphase', title: '型号研制阶段',sort:true, sortname: 'f_modeldevelopphase'}
                ,{field: 'fProductbatchno', title: '故障产品所属的产品批次',sort:true, sortname: 'f_productbatchno'}
                ,{field: 'fProduceclass', title: '生产分类',sort:true, sortname: 'f_produceclass'}
                ,{field: 'fBreakphase', title: '故障件阶段',sort:true, sortname: 'f_breakphase'}
                ,{field: 'fProductlevel', title: '产品级别',sort:true, sortname: 'f_productlevel'}
                ,{field: 'fProductdesigndept', title: '产品设计单位',sort:true, sortname: 'f_productdesigndept'}
                ,{field: 'fProductproducedept', title: '产品生产单位',sort:true, sortname: 'f_productproducedept'}
                ,{field: 'fDetectplace', title: '问题发生地点',sort:true, sortname: 'f_detectplace'}
                ,{field: 'fSubsystemname', title: '所属分系统名称',sort:true, sortname: 'f_subsystemname'}
                ,{field: 'fIffirstfly', title: '是否首飞',sort:true, sortname: 'f_iffirstfly'}
                ,{field: 'fIfshooting', title: '是否靶场质量问题',sort:true, sortname: 'f_ifshooting'}
                ,{field: 'fIfbatch', title: '是否批次性',sort:true, sortname: 'f_ifbatch'}
                ,{field: 'fIfthree', title: '是否三类问题',sort:true, sortname: 'f_ifthree'}
                ,{field: 'fProblemrank', title: '问题等级',sort:true, sortname: 'f_problemrank'}
                ,{field: 'fSofthard', title: '硬件/软件',sort:true, sortname: 'f_softhard'}
                ,{field: 'fProblemlever', title: '问题级别',sort:true, sortname: 'f_problemlever'}
                ,{field: 'fResetday', title: '归零周期',sort:true, sortname: 'f_resetday'}
                ,{field: 'fFailuredescription', title: '问题/故障现象描述',sort:true, sortname: 'f_failuredescription'}
                ,{field: 'fDeepreason', title: '深层次原因',sort:true, sortname: 'f_deepreason'}
                ,{field: 'fCausation', title: '问题原因描述',sort:true, sortname: 'f_causation'}
                ,{field: 'fFourrefer', title: '“四个两”要求对照分析',sort:true, sortname: 'f_fourrefer'}
                ,{field: 'fCausationclass1', title: '原因分类1',sort:true, sortname: 'f_causationclass1'}
                ,{field: 'fCausationclass2', title: '原因分类2',sort:true, sortname: 'f_causationclass2'}
                ,{field: 'fDutydept', title: '问题责任单位',sort:true, sortname: 'f_dutydept'}
                ,{field: 'fDutydeptnature', title: '责任单位性质',sort:true, sortname: 'f_dutydeptnature'}
                ,{field: 'fIfreset', title: '是否完成归零',sort:true, sortname: 'f_ifreset'}
                ,{field: 'fResettype', title: '归零方式',sort:true, sortname: 'f_resettype'}
                ,{field: 'fSolveresult', title: '解决情况',sort:true, sortname: 'f_solveresult'}
                ,{field: 'fMeasureclass', title: '问题处理方式',sort:true, sortname: 'f_measureclass'}
                ,{field: 'fCorrectmeasure', title: '纠正措施',sort:true, sortname: 'f_correctmeasure'}
                ,{field: 'fOutdeptname', title: '外协外购乙方',sort:true, sortname: 'f_outdeptname'}
                ,{field: 'fRanage', title: '范围',sort:true, sortname: 'f_ranage'}
                ,{field: 'fIndusty', title: '行业',sort:true, sortname: 'f_industy'}
                ,{field: 'fOutnature', title: '外协性质',sort:true, sortname: 'f_outnature'}
                ,{field: 'fSoftrank', title: '软件等级',sort:true, sortname: 'f_softrank'}
                ,{field: 'fIschange', title: '是否变更',sort:true, sortname: 'f_ischange'}
                ,{field: 'fCurversion', title: '当前版本',sort:true, sortname: 'f_curversion'}
                ,{field: 'fShowversion', title: '是否展示',sort:true, sortname: 'f_showversion'}
                ,{field: 'fUpdateperson', title: '更新人',sort:true, sortname: 'f_updateperson'}
                ,{field: 'fUpdatepersondept', title: '更新人部门',sort:true, sortname: 'f_updatepersondept'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fUpdatedate,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fUpdatedate,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fUpdatedate);
                ,{field: 'fUpdatedate', title: '更新日期',sort:true, sortname: 'f_updatedate',templet: function (d) {
                    return commons.timeData(d.fUpdatedate);
                }}
                ,{field: 'fOriginalid', title: '变更原始id',sort:true, sortname: 'f_originalid'}
                ,{field: 'fPreviousid', title: '变更上一版本id',sort:true, sortname: 'f_previousid'}
                ,{field: 'fBelongdeptname', title: '所属单位',sort:true, sortname: 'f_belongdeptname'}
                ,{field: 'fCausationclass3', title: '原因分类3',sort:true, sortname: 'f_causationclass3'}
                ,{field: 'fStatus', title: '状态',sort:true, sortname: 'f_status'}
                ,{field: 'fSuperviseid', title: '督办id',sort:true, sortname: 'f_superviseid'}
                ,{field: 'fManagefactoranalysis', title: '管理因素分析',sort:true, sortname: 'f_managefactoranalysis'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fSkillresettime,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fSkillresettime,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fSkillresettime);
                ,{field: 'fSkillresettime', title: '技术归零时间',sort:true, sortname: 'f_skillresettime',templet: function (d) {
                    return commons.timeData(d.fSkillresettime);
                }}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fManageresettime,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fManageresettime,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fManageresettime);
                ,{field: 'fManageresettime', title: '管理归零时间',sort:true, sortname: 'f_manageresettime',templet: function (d) {
                    return commons.timeData(d.fManageresettime);
                }}
                ,{field: 'fIfmating', title: '是否集团内配套',sort:true, sortname: 'f_ifmating'}
                ,{field: 'fSkillcerfile', title: '技术归零报告及相关证明文件',sort:true, sortname: 'f_skillcerfile'}
                ,{field: 'fManagecerfile', title: '管理归零报告及相关证明文件',sort:true, sortname: 'f_managecerfile'}
                ,{field: 'fIfduty', title: '是否责任追究',sort:true, sortname: 'f_ifduty'}
                ,{field: 'fDutyinvestigationtyp', title: '责任追究类别',sort:true, sortname: 'f_dutyinvestigationtyp'}
                ,{field: 'fIdentification', title: '认定情况',sort:true, sortname: 'f_identification'}
                ,{field: 'fConfirmdutyinvest', title: '是否完成责任追究',sort:true, sortname: 'f_confirmdutyinvest'}
                ,{field: 'fAllcount', title: '处罚总金额',sort:true, sortname: 'f_allcount'}
                ,{field: 'fVersion', title: '版本号',sort:true, sortname: 'f_version'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fVersiondate,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fVersiondate,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fVersiondate);
                ,{field: 'fVersiondate', title: '版本日期',sort:true, sortname: 'f_versiondate',templet: function (d) {
                    return commons.timeData(d.fVersiondate);
                }}
                ,{field: 'tenantId', title: '租户Id',sort:true, sortname: 'tenantid'}
                ,{field: 'fCreateby', title: '创建人',sort:true, sortname: 'f_createby'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fCreatetime,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fCreatetime,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fCreatetime);
                ,{field: 'fCreatetime', title: '创建时间',sort:true, sortname: 'f_createtime',templet: function (d) {
                    return commons.timeData(d.fCreatetime);
                }}
                ,{field: 'fUpdateby', title: '更新人',sort:true, sortname: 'f_updateby'}
                //如需转换为:yyyy-MM-dd HH:mm:ss: return commons.timeData(d.fUpdatetime,"1");
                //如需转换为HH:mm:ss: return commons.timeData(d.fUpdatetime,"2");
                // 当前转换后的格式为yyyy-MM-dd: return commons.timeData(d.fUpdatetime);
                ,{field: 'fUpdatetime', title: '更新时间',sort:true, sortname: 'f_updatetime',templet: function (d) {
                    return commons.timeData(d.fUpdatetime);
                }}
                ,{
                    fixed: 'right',
                    title: '管理',
                    toolbar: '#wQbdFalProblemvsoRightToolsBar'
                }
            ]],done:function () {
                common.tableSelectCon('.ccpui-enterSel .layui-form input','a[lay-event=query]','.ccpui-enterSel');
            }
        });

        totalFilter.init('wQbdFalProblemvsoTable');
        dateReflash()
        function dateReflash() {
            commons.reflashDate({startName:'.start_time1',endName:'.end_time1'});
            commons.reflashDate({startName:'.start_time2',endName:'.end_time2'});
            commons.reflashDate({startName:'.start_time3',endName:'.end_time3'});
            commons.reflashDate({startName:'.start_time4',endName:'.end_time4'});
            commons.reflashDate({startName:'.start_time5',endName:'.end_time5'});
            commons.reflashDate({startName:'.start_time6',endName:'.end_time6'});
            commons.reflashDate({startName:'.start_time7',endName:'.end_time7'});
        }

        function reflashQuery(isClear) {
            common.tableConditionRender("wQbdFalProblemvsoTable","wQbdFalProblemvsoQueryForm",{where:{}},isClear);
        }

        table.on('toolbar(wQbdFalProblemvsoTable)', function (obj) {
            var checkStatus = table.checkStatus(obj.config.id);
            var data = checkStatus.data;
            var _this = this;
            switch (obj.event) {
                case 'add':
                    window.location.href = serverPath.basePath + "/qbdms/wQbdFalProblemvso/view/add";
                    break;
                case 'delete':
                    var array = "";
                    for (var i = 0; i < data.length; i++) {
                        array+=data[i].id+",";
                    }
                    delFun(data,array);
                    break;
                case 'export':
                    if (data.length == 0) {
                        layer.confirm('还没有选择，是否导出全部？', {
                            btn: ['确定', '取消'] //按钮
                        }, function (index) {
                            layer.close(index);
                            var url = serverPath.systemPath + '/qbdms/wQbdFalProblemvso/exportData';
                            $("form[lay-filter='wQbdFalProblemvsoQueryForm']").find(".filter-value").each(function(i,value) {
                                if(i ==0){
                                    url += "?"+this.name+"="+this.value
                                }else{
                                    url += "&"+this.name+"="+this.value
                                }
                            });
                            window.location.href = url;
                        });
                    } else {
                        layer.confirm('确定导出吗？', {
                            btn: ['是', '否'] //按钮
                        }, function (index) {
                            layer.close(index);
                            var ids = [];
                            for (var i = 0; i < data.length; i++) {
                                ids.push(data[i].id);
                            }
                            var url = serverPath.systemPath + '/qbdms/wQbdFalProblemvso/exportData?id=' + ids;
                            window.location.href = url;
                        });
                    }
                    break;
                case "import":
                    layer.open({
                        type: 2,
                        title: "导入",
                        shade: 0.3,
                        area: ['400px', '300px'],
                        content: serverPath.systemPath + "/qbdms/wQbdFalProblemvso/view/import"
                        ,end:function () {
                            table.reload('wQbdFalProblemvsoTable', {
                                page: {
                                    curr: 1
                                }
                            });
                            totalFilter.init('wQbdFalProblemvsoTable');
                            dateReflash();
                        }
                    });
                    break;
                case "query":
                    reflashQuery(false);
                    dateReflash();
                    break;
                case "clears":
                    reflashQuery(true);
                    dateReflash();
                    break;

            };
        });

        table.on('tool(wQbdFalProblemvsoTable)', function(obj) {
            var data = obj.data, //获得当前行数据
                    layEvent = obj.event; //获得 lay-event 对应的值
            switch(layEvent){
                case "edit":
                    window.location.href = serverPath.basePath + '/qbdms/wQbdFalProblemvso/view/add?id='+data.id
                    break;
                case "particulars":
                    window.location.href = serverPath.basePath + '/qbdms/wQbdFalProblemvso/view/particulars?id='+data.id;
                    break;
                case "del":
                    delFun(data,data.id);
                    break;
            }
        });

        function delFun(data,id) {
            if (data.length === 0) {
                layer.msg('请先选择一行数据!',{title: false,skin: 'confirm-class'});
            } else {
                layer.confirm('确定删除当前数据吗?',{title: false,skin: 'confirm-class'}, function (index) {
                    layer.close(index);
                    $.ajax({
                        url: serverPath.basePath + "/qbdms/wQbdFalProblemvso/del",
                        type: "post",
                        data: {id:id},
                        dataType: 'json',
                        success: function (data) {
                            layer.alert(data.msg);
                            //执行重载
                            reflashQuery(true);
                            dateReflash();
                        },
                        error: function (XMLHttpRequest, textStatus, errorThrown) {
                            layer.alert(data.msg);
                            //执行重载
                            reflashQuery(true);
                            dateReflash();
                        }
                    })
                })
            }
        }

        window.Initialization = function () {
            dateReflash();
        };
        /*刷新时间控件*/
        dateReflash();
        common.tableSort("wQbdFalProblemvsoTable",{show:window.Initialization});
    });
</script>
</body>
</html>